package test2.mapper;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import test2.pojo.User;
import test2.util.IDBUtil;

@Component
public class UserMapper implements IUserMapper {
    @Autowired
    private IDBUtil dbUtil;
    @Override
    public int insert(User user) {
        System.out.println("执行插入方法中");
        dbUtil.getConnection();
        return 0;
    }
}
